<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>demo18-dom操作节点属性</title>
    <script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
    <style>


    </style>

</head>
<body>
    <p title="js" metaId = "cc">111111111</p>

</body>
</html>

<script>

    $('p').attr('title','liveScript');


    $('p').removeAttr('metaId');

</script>